package com.YxyBackMange.Service.App.Impl;
import com.YxyBackMange.Entity.App.AppFeedback;
import com.YxyBackMange.Mapper.App.AppFeedbackMapper;
import com.YxyBackMange.Service.App.AppFeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AppFeedbackServiceImpl implements AppFeedbackService{
	
	@Autowired
    private AppFeedbackMapper appFeedbackMapper;
    
   @Override
   public AppFeedback insertService(AppFeedback appFeedback){
        appFeedbackMapper.insertSelective(appFeedback);
	   return appFeedback;
	   
   };
   @Override
   public AppFeedback updateService(AppFeedback appFeedback){
	     appFeedbackMapper.updateByPrimaryKeySelective(appFeedback);
        return appFeedback;
   };
    @Override
    public AppFeedback update(AppFeedback appFeedback) {
        appFeedbackMapper.updateByPrimaryKeySelective(appFeedback);
        return appFeedback;
    }
   @Override
   public AppFeedback delete(AppFeedback appFeedback){

	     appFeedbackMapper.delete(appFeedback);
        return appFeedback;
   };
    @Override
    public AppFeedback insert(AppFeedback appFeedback){

        appFeedbackMapper.insertSelective(appFeedback);
        return appFeedback;

        };
}
